class ToolUpLoadFileEntity{

  int? _code;
  String? _message;
  List<ToolUpLoadFileData>? _data;

  ToolUpLoadFileEntity(
      {int? code, String? message, List<ToolUpLoadFileData>? data}) {
    this._code = code;
    this._message = message;
    this._data = data;
  }

  int? get code => _code;
  set setCode(int code) => _code = code;
  String? get message => _message;
  set setMessage(String message) => _message = message;
  List<ToolUpLoadFileData>? get data => _data;
  set setData(List<ToolUpLoadFileData> data) => _data = data;

  ToolUpLoadFileEntity.fromJson(Map<String, dynamic> json) {
    _code = json['code'];
    _message = json['message'];
    if(json['data'] != null){
      _data = [];
      json['data'].forEach((v) {
        _data!.add( ToolUpLoadFileData.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this._code;
    data['message'] = this._message;
    if (this._data != null) {
      data['thinkData'] = this._data!.map((v) => v.toJson()).toList();
    }
    return data;
  }

}

class ToolUpLoadFileData{

  String? _imgUrl;

  ToolUpLoadFileData({String? imgUrl}) {
    this._imgUrl = imgUrl;
  }

  String? get imgUrl => _imgUrl;
  set setImgUrl(String imgUrl) => _imgUrl = imgUrl;

  ToolUpLoadFileData.fromJson(Map<String, dynamic> json) {
    _imgUrl = json['img_url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['img_url'] = this._imgUrl;
    return data;
  }

}